package logger

//// AppenderConfig 配置
//type AppenderConfig struct {
//	Name string `yaml:"name"`
//	Type string `yaml:"type"`
//	File string `yaml:"file,omitempty"` // 可选字段
//}
//
//// LoggerConfig 配置
//type LoggerConfig struct {
//	Name       string   `yaml:"name"`
//	Level      string   `yaml:"level"`
//	Additivity bool     `yaml:"additivity,omitempty"`
//	Appenders  []string `yaml:"appenders"`
//}
//
//// RootConfig 根配置
//type RootConfig struct {
//	Appenders []AppenderConfig `yaml:"appenders"`
//	Loggers   []LoggerConfig   `yaml:"loggers"`
//}

type SizeAndTimeBasedRollingPolicy struct {
	Pattern     string
	MaxFileSize string
	MaxHistory  int
	Compress    bool
}
